 /* 全局样式 */
 body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* 顶部横幅样式 */
.header-banner {
    background: linear-gradient(to right, #4b6cb7, #182848) ;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.5em;
}
.header-banner h1{
    margin-top: 100px;
    font-size: 48px;
    color: rgb(255, 255, 255); 
    font-family: "华文彩云";
    font-weight: bold;
}
/* 主体标题 */
h2 {
    text-align: center;
    color: #333;
    font-size: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    
}

/* 照片卡片容器 */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 单个卡片样式 */
.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card p {
    margin: 10px;
    font-size: 14px;
    color: #555;
}

.card .date {
    color: #888;
    font-size: 12px;
    margin-bottom: 10px;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
#map {
        width: 100%; /* 动态适应宽度 */
        max-width: 1200px; /* 最大宽度为1000px */
        height: 400px; /* 提升高度，视觉更舒适 */
        margin: 20px auto; /* 居中对齐 */
        border: 2px solid #ddd; /* 边框 */
        border-radius: 12px; /* 圆角效果 */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 增加阴影 */
        position: relative; /* 为加载指示器定位 */
    }

    #map.loading {
        background-color: #f8f8f8; /* 地图加载背景色 */
        background-image: url('loading.gif'); /* 可选：加载指示器动画 */
        background-size: 50px 50px;
        background-position: center;
        background-repeat: no-repeat;
    }

    .map-container {
        text-align: center;
        margin: 20px auto;
    }

    .map-controls {
        margin-top: 15px;
    }

    .map-controls button {
        margin: 5px;
        padding: 10px 20px;
        font-size: 16px;
        border: none;
        border-radius: 5px;
        background-color: #4b6cb7;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease-in-out;
    }

    .map-controls button:hover {
        background-color: #182848;
    }
